package cn.kgc.flightdemo01.mapper;

import cn.kgc.flightdemo01.pojo.ViewsFlightCity;
import cn.kgc.flightdemo01.pojo.ViewsFlightCityExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ViewsFlightCityMapper {
    int countByExample(ViewsFlightCityExample example);

    int deleteByExample(ViewsFlightCityExample example);

    int insert(ViewsFlightCity record);

    int insertSelective(ViewsFlightCity record);

    List<ViewsFlightCity> selectByExample(ViewsFlightCityExample example);

    int updateByExampleSelective(@Param("record") ViewsFlightCity record, @Param("example") ViewsFlightCityExample example);

    int updateByExample(@Param("record") ViewsFlightCity record, @Param("example") ViewsFlightCityExample example);
}